package io.gitee.zhangbinhub.admin.resource.server.vo

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank

/**
 * @author zhang by 19/01/2019
 * @since JDK 11
 */
@Schema(description = "模块功能配置详细信息")
data class ModuleFuncVo(

    @Schema(description = "ID")
    var id: String? = null,

    @Schema(description = "应用ID")
    var appId: String? = null,

    @Schema(description = "模块名称")
    @NotBlank(message = "模块名称不能为空")
    var name: String? = null,

    @Schema(description = "模块编码")
    @NotBlank(message = "模块编码不能为空")
    var code: String? = null

)
